package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Eventcatalog;
import pcjavanet.mobilesell.model.EventcatalogExample;
import pcjavanet.mobilesell.model.PageBean;

public interface EventcatalogMapper {
    int countByExample(EventcatalogExample example);

    int deleteByExample(EventcatalogExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Eventcatalog record);

    int insertSelective(Eventcatalog record);

    List<Eventcatalog> selectByExample(EventcatalogExample example);

    Eventcatalog selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Eventcatalog record, @Param("example") EventcatalogExample example);

    int updateByExample(@Param("record") Eventcatalog record, @Param("example") EventcatalogExample example);

    int updateByPrimaryKeySelective(Eventcatalog record);

    int updateByPrimaryKey(Eventcatalog record);

    List<Eventcatalog> getOnePageBeans(@Param("example") EventcatalogExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") EventcatalogExample example, @Param("pageBean") PageBean pageBean);

    List<Eventcatalog> selectByExamplePage(@Param("example") EventcatalogExample example, @Param("pageBean") PageBean pageBean);
}